.class Lcom/estrongs/android/view/d0$b;
.super Ljava/lang/Object;
.source "RemoteGridViewWrapper.java"

# interfaces
.implements Landroid/view/View$OnTouchListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/estrongs/android/view/d0;->o0()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/view/d0;


# direct methods
.method constructor <init>(Lcom/estrongs/android/view/d0;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/view/d0$b;->a:Lcom/estrongs/android/view/d0;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onTouch(Landroid/view/View;Landroid/view/MotionEvent;)Z
    .locals 3

    .line 1
    iget-object p1, p0, Lcom/estrongs/android/view/d0$b;->a:Lcom/estrongs/android/view/d0;

    invoke-static {p1}, Lcom/estrongs/android/view/d0;->f(Lcom/estrongs/android/view/d0;)Landroid/widget/EditText;

    move-result-object p1

    invoke-virtual {p1}, Landroid/widget/EditText;->getCompoundDrawables()[Landroid/graphics/drawable/Drawable;

    move-result-object p1

    const/4 v0, 0x2

    aget-object p1, p1, v0

    const/4 v0, 0x0

    if-nez p1, :cond_0

    return v0

    .line 2
    :cond_0
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getAction()I

    move-result v1

    const/4 v2, 0x1

    if-eq v1, v2, :cond_1

    return v0

    .line 3
    :cond_1
    iget-object v1, p0, Lcom/estrongs/android/view/d0$b;->a:Lcom/estrongs/android/view/d0;

    invoke-static {v1}, Lcom/estrongs/android/view/d0;->f(Lcom/estrongs/android/view/d0;)Landroid/widget/EditText;

    move-result-object v1

    invoke-virtual {v1}, Landroid/widget/EditText;->getPaddingRight()I

    move-result v1

    invoke-virtual {p1}, Landroid/graphics/drawable/Drawable;->getIntrinsicWidth()I

    move-result p1

    add-int/2addr v1, p1

    iget-object p1, p0, Lcom/estrongs/android/view/d0$b;->a:Lcom/estrongs/android/view/d0;

    iget-object p1, p1, Lcom/estrongs/android/view/h0;->a:Landroid/content/Context;

    const v2, 0x7f0700c6

    .line 4
    invoke-static {p1, v2}, Lcom/estrongs/android/pop/utils/t;->a(Landroid/content/Context;I)I

    move-result p1

    add-int/2addr v1, p1

    .line 5
    invoke-virtual {p2}, Landroid/view/MotionEvent;->getX()F

    move-result p1

    iget-object p2, p0, Lcom/estrongs/android/view/d0$b;->a:Lcom/estrongs/android/view/d0;

    invoke-static {p2}, Lcom/estrongs/android/view/d0;->f(Lcom/estrongs/android/view/d0;)Landroid/widget/EditText;

    move-result-object p2

    invoke-virtual {p2}, Landroid/widget/EditText;->getWidth()I

    move-result p2

    sub-int/2addr p2, v1

    int-to-float p2, p2

    cmpl-float p1, p1, p2

    if-lez p1, :cond_2

    .line 6
    iget-object p1, p0, Lcom/estrongs/android/view/d0$b;->a:Lcom/estrongs/android/view/d0;

    invoke-static {p1}, Lcom/estrongs/android/view/d0;->g(Lcom/estrongs/android/view/d0;)V

    :cond_2
    return v0
.end method
